//元组1
let arr:[number,string,boolean]=[1,'23',true]
//其他类型数组
let arr2:number[]=[1,2,3]
let arr1:string[]=['sb']
let arr3:boolean[]=[true,false]

let arr4:{name:string,age:number}[]=[{name:"123",age:18},{name:"2345",age:5884}]

let str:string=''

let fun=(can:number,can2:number)=>{
    return can+can2
}

console.log(fun(1,2));

let bol:boolean=true
let num:number=123
let obj:{a:string}={a:"wdf"}

let newarr:number[]=[1,2,3,4,5,6,6,7,8,9,0,1,2,3,4,5,6,7,8,9]
let newaee1:number[]=[]
newarr.forEach((value:number, index:number) => {
    if(!newaee1.includes(value)){
        newaee1.push(value)
    }
})
console.log(newaee1);
